<div id="sell_${sell.id}_edit">
<table width="750">
  <tr>
    <td colspan="5">
      <a href="${sell.buy.stock.url}" target="_blank">
${sell.buy.stock}
      </a>
    </td>
  </tr>
  <tr>
    <td width="100">
${sell.invested()}kr
    </td>
    <td width="100">
${sell.value()}kr
    </td>
    <td width="150">
${sell.profit()}kr /
${sell.profitProc()}%
    </td>
    <td width="400" style="text-align: right;">
  <g:remoteLink controller="sell" action="edit" id="${sell.id}" update="sell_${sell.id}_edit">
    Edit
  </g:remoteLink>,
  <g:remoteLink controller="sell" action="delete" id="${sell.id}" onSuccess="${remoteFunction(controller:'investments',action:'allpast',update:'main')};">
    Remove
  </g:remoteLink>
</td>
</tr>
</table>
</div>
